<#import "spring.ftl" as spring />
<#import "inspector-time-macros.ftl" as imacro />
<html>
<head>
	<title></title>
</head>
<body>

<div id="content">

	<h1>RESET PASSWORD</h1>
	
	<@imacro.listErrors "passwordResetForm" />
	
	<@spring.bind path="passwordResetForm.resetCode" />	
	<#if (spring.status.errorMessages?size == 0) >
		<p>Please enter a new password.</p>	
		<form action="resetPassword.html" method="post">
			<@spring.formHiddenInput "passwordResetForm.resetCode" />
			<div class="formElement"><label>NEW PASSWORD</label><@spring.formPasswordInput "passwordResetForm.newPassword", 'size="30"'/></div>
			<br class="clearBoth" />
			<input type="submit" value="SAVE" class="formButton"/>
			<input type="button" value="CANCEL" class="formButton" onClick="location.href='index.html'" />
		</form>
	</#if>	
	
</div>
</body>
</html>
